﻿// officeCheck.cpp : 定义控制台应用程序的入口点。
//
#include<windows.h>
#include "officecheck_dll.h"
#include "officeFactory.h"
#include "IOfficeFile.h"
#include <iostream>
#include <sstream>
#include <fstream> 
using namespace std;
#if 0
int main()
{
	string fileName = "C:\\Users\\HT-706\\Desktop\\第5章 Qt 5主窗体.ppt";
	officeFactory *com = new officeFactory();
	
	IOfficeFile *office  = com->CreateOfficeFile(fileName);
	string ss = office->ParagraphText();
	ERRORTYPE result =  office->getResult();
	ofstream stream("D:\\10\\4.txt");
	stream << ss;
	stream.close();
	getchar();
    return 0;
}
#else
int APIENTRY officeCheck_dll(HMODULE hModule,DWORD  ul_reason_for_call,LPVOID lpReserved)
{
	return 0;
}
#endif
